<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="ajile/com.iskitz.ajile.js?mvcoff,mvcshareoff,refresh"></script>
<script type="text/javascript" src="org.wattdepot.gdata.GDataLoader.js"></script>
<script type="text/javascript" src="org.wattdepot.gdata.kukuicup.Configuration.js"></script>

<script type="text/javascript">
// Get the kukui cup configuration file. 
var configuration = new org.wattdepot.gdata.kukuicup.Configuration();
// Get two spreadsheet URLs
var url1 = configuration.getEnergyStatusSummaryUrl(configuration.ilima_3_4);
var url2 = configuration.getBaselineDataUrl();
var refresh = 3600;
// Retrieve the datatables associated with these two spreadsheets, then call the callback.
var loader = new org.wattdepot.gdata.GDataLoader(displayDormData, url1, refresh, url2, refresh); 

function displayDormData(datatable1, datatable2) {
  document.write("<br>summary url (0,0): " + datatable1.getFormattedValue(0,0));
  document.write("<br>baseline url (0,0): " + datatable2.getFormattedValue(0,0));
  document.write("<br>done.");
}
</script>
</head>

<body>
</body>
</html>




